package shape;

import education.School;

public class Rectangle {
	double longth=5;
	double width=4;
	double c=2*(longth+width);
	double s=longth*width;
	public String descirption() {
		return "矩形的长为" + longth +"，宽为" + width + ",周长为" + c +",面积为" + s;
				
	}
	static public void main(String[] args) {
		Rectangle shape = new Rectangle();
		shape.longth=5;      
		shape.width=4;
		String a=shape.descirption();
		System.out.println(a);
	}

}
